package com.jpx.jxcupms.mapper;

import com.jpx.jxcupms.dto.TUserDto;
import com.jpx.jxcupms.entity.TRole;
import com.jpx.jxcupms.entity.TUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mht
 * @since 2020-02-22
 */
public interface TUserMapper extends BaseMapper<TUser> {

    List<TRole> getRoleByUserid(Integer id);

    List<TUserDto> userRoleList(TUser tUser);
}
